Release 10.1A: OpenEdge Getting Started:
Application and Integration Services


Run-time tools

Figure 6–8 shows tools used to run and test a Web service together with a Web service client.

Figure 6–8: Progress 4GL Web service run-time tools

Run-time tools and the Web service URL

When running and testing a Progress 4GL Web service and its client, it is helpful to understand how the tools involved in Web service execution are represented in the Web service URL. There are up to three major components between a Web service client and the Web service it tries to access. All of these components typically participate in the URL path to the Web service and its WSDL file. Listed in their order of appearance in the URL, these components are:

Thus, a root URL for the WSA instance, fred, maps neatly to the Web service run-time architecture shown in Figure 6–8, as in the following example:

http://servicehost:80/bedrock/quarry/fred 

WSA as a run-time tool

At run time, each SOAP request to a Web service is handled by the specified WSA instance. The WSA decodes and encodes SOAP messages according to the Web service interface defined in the WSAD file (WorldWeather.wsad in the figure). It also manages Web service run-time resources as defined by the Web service property settings (WorldWeather.props in the figure).

Tools for testing and debugging

Another tool that you might use to test and debug a Web service client is a SOAP viewer. You can configure a SOAP viewer to intercept all messages sent between the Web service client and the WSA instance. You can then view and possibly modify them (depending on the viewer) before you allow them to continue to their destination. Depending on the viewer, you might have to alter the Web service URL in the client to accommodate the viewer. OpenEdge provides SOAP viewing tools with the installation, but they are also widely available. For more information on testing and debugging Web services and Web service clients, see OpenEdge Development: Web Services .


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095